// Place all the styles related to the StaticPages controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: https://sass-lang.com/
$text-color: #152331;
::selection { background:#1abc9c60; } 
::-moz-selection { background:#1abc9c60;} 
::-webkit-selection { background:#1abc9c60;}
#main{
    color: $text-color;
}
.list{
    flex: 0 0 auto;
}
#header{
    padding: 10px 0;
}
.flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
body{
    margin: 0;
}
@media screen and (min-width: 768px) {
    .left{
        min-width: 120px;
        margin: 0 40px;
    }
    .right{
        min-width: 120px;
        margin: 0 40px;
    }
    #main{
        margin: 0 40px;
    }
    .list{
        width: 70%; 
    }
    .conl{
        padding-right: 10px;
    }
}
@media screen and (max-width: 768px) {
    .left{
        min-width: 120px;
        margin: 0 18px;
    }
    .right{
        min-width: 120px;
        margin: 0 18px;
    }
    #main{
        margin: 0 18px;
    }
    .list{
        width: 100%; 
    }
    .sidebar{
        display: none;
    }
}
.logo{
    font-family: Tahoma, sans-serif;
    color: $text-color;
    font-size: 22px;
    font-weight: 600;
    padding-left: 16px;
    &:hover{
        cursor: default;
        animation-name: logof;
        animation-duration: 0.3s;
        animation-fill-mode: forwards;
    }
}
@keyframes logof {
    0%   {color: $text-color;}
    100% {color: #1abc9c;}
  }
@keyframes se {
    0%   {width: 140px;}
    100% {width: 230px;}
  }
@keyframes card {
    0%   {opacity: .8; background: white;}
    100% {opacity: 1; background: #15233103;}
  }
@keyframes sba {
    0%   { box-shadow: 1px 1px 0.5px #15233120;}
    100% { box-shadow: 2px 2px 1px #15233130;}
  }
.search input{
    border-radius: 30px;
    border: #15233160 solid 0.5px ;
    outline: none;
    height: 100%;
    padding: 6px 6px;
    margin-right: 16px;
    font-size: 13px;
    width: 140px;
    &:hover{
        border: #15233180 solid 0.6px ;
    }
    &:focus{
        border: #15233190 solid 0.9px ;
        @media screen and (min-width: 768px){
            animation-name: se;
            animation-duration: 0.3s;
            animation-fill-mode: forwards;
        }
    }
}
.headerline{
    height: 1px;
    background: linear-gradient(to left,rgba(21,35,49,0.00) 0%,rgba(21,35,49,0.30) 50%,rgba(21,35,49,0.00) 100%);
    width: 100%;
    margin-bottom: 20px;
}
.footerline{
    height: 1px;
    background: linear-gradient(to left,rgba(21,35,49,0.00) 0%,rgba(21,35,49,0.30) 50%,rgba(21,35,49,0.00) 100%);
    width: 100%;
    margin:20px 0;
}
.concard{
    margin: 10px 0;
    border:#15233160 solid 0.5px;
    opacity: .8;
    border-radius:10px ;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    &:hover{
        border:#15233180 solid 0.6px;
        animation-name: card;
        animation-duration: 0.3s;
        animation-fill-mode: forwards;
    }
    padding: 12px 16px;
}
.contitle{
    font-size: 18px;
    font-weight: 600;
    &:hover{
        text-decoration:underline;
        text-decoration-thickness: 2px;
        cursor: pointer;
        color: #1abc9c;
    }
}
.contag{
    font-size: 16px;
    color: #15233180;
}
.coninfo{
    text-align: right;
    font-family: Tahoma, sans-serif;
    opacity: .3;
}
.conbody{
    text-align: left;
    flex-grow: 1;
}
.sidebar{
    width: 30%;
    flex: 0 0 auto;
}
.container{
    width: 100%;
    display:flex;
    flex-wrap: wrap;
}
.fcon{
    margin: 0 56px;
    text-align: center;
    margin-bottom: 20px;
    color: $text-color;
    opacity: .6;
    font-family: Tahoma, sans-serif;
    font-size: 16px;
}
#like{
    margin-right: 10px;
    font-family: Tahoma, sans-serif;
    &:hover{
        cursor: pointer;
    }
}
.sbti{
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 500;
}
.sb{
    display: block !important;
    box-shadow: 1px 1px 0.5px #15233120;
    &:hover{
        animation-name: sba;
        animation-duration: 0.3s;
        animation-fill-mode: forwards;
    }
}
.sbbo{
    text-align: center;
}
a{
    text-decoration: none;
    color: #152331;
    &:hover{
        color: #1abc9c;
        text-decoration: underline;
    }
}
.su{
    margin-top: 12px;
    margin-bottom: 3px;
    a{
        margin-left: 2px;
        margin-right: 2px;
    }
}
.hnod{
    &:hover{
        text-decoration: none !important;
    }
}
#notice{
    padding:10px 20px;
    background-color: #e9e9e9;
    z-index: 9999;
    border-radius:0 10px 10px 0;
    color: #152331;
    max-width: 180px;
    display: flex;
    align-items: center;
}
#closenot{
    font-family: Tahoma, sans-serif;
    &:hover{
        cursor: pointer;
        animation-name: logof;
        animation-duration: 0.3s;
        animation-fill-mode: forwards;
    }
}
#notline{
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 50px;
    background-color: #152331;
    height: 2px;
}
#notcon{
    margin-right: 6px;
}
#ssubmit[disabled]{
    background-color: #ededed;
    &:hover{
        background-color: #ededed;
        cursor: not-allowed;
    }
}
#nstru{
    position: fixed;
    left:0px;
    bottom:20px;
    display: none;
}
#checkpwd{
    margin-bottom: 10px;
    font-size: 14px;
}
.turbolinks-progress-bar {
    background-color: #1abc9c !important;
    height: 1.2px !important;
    &::before{
        background-color: #1abc9c !important;
        height: 1.2px !important;
    }
}
.conpre{
    flex-basis: 100%;
    font-size: 14px;
    opacity: .8;
    margin-top: 5px;
}
#tags .tagsty{
    padding: 3px 12px;
    margin: 1px 2px;
    &::before{
        content: "# ";
    }
    font-size: 14px;
    color: #15233160;
    display: inline-block;
}